package core;

/**
 * Interface of Universal Message Sender
 * @author dcrm
 */
public interface IMessageSender {

    /**
     * Send Set State Boolean to Admin
     * @param b - Value (boolean)
     * @param s - String msg
     */
    public abstract void sendBAdmReport(boolean b,String s);
    /**
     * Send to Admin message
     * @param msg
     */
    public abstract void sendAdMsg(String msg);
    /**
     * Send to Admin Extended(icq need) message
     * @param msg
     */
    public abstract void sendAdEMsg(String msg);


    /**
     * Send mssage to ...
     * @param to
     * @param msg
     */
    public abstract void sendMessage(String to, String msg);
    /**
     * Send Extended(icq need) message to ...
     * @param to
     * @param msg
     */
    public abstract void sendExtendedMessage(String to, String msg);
    /**
     * Init reconnect
     */
    public abstract void reConnect();
    /**
     * Init disconnect
     * @param bl - true/false on stop
     */
    public abstract void disconnect(boolean bl);

    /**
     * Get info...
     * @return
     */
    public abstract String getInfo();
}
